import Layout from '@/layout'

const staffRouter = {
  path: '/staff',
  component: Layout,
  redirect: '/staff/staffManagement',
  name: 'staff',
  meta: { roles: ['staffManagement'] },
  children: [
    {
      path: 'staffManagement',
      component: () => import('@/views/staff/staffManagement/index'),
      name: 'staffManagement',
      meta: { icon: 'el-icon-user', title: '人员信息管理' }
    }
  ]
}
export default staffRouter
